package com.threecoder.ums
{
	import com.threecoder.ums.controller.command.startup.StartupCommand;
	import com.threecoder.ums.controller.constant.AppConstants;
	
	import org.puremvc.as3.patterns.facade.Facade;
	
	public class ApplicationFacade extends Facade
	{
		public function ApplicationFacade()
		{
			//TODO: implement function
			super();
		}
		
		public static function getInstance() :ApplicationFacade {
			if( instance == null ) {
				instance = new ApplicationFacade();
			}
			
			return instance as ApplicationFacade;
		}
		
		override protected function initializeController():void {
			super.initializeController();
			registerCommand( AppConstants.STARTUP, StartupCommand );
		}
		
		public function startup( app :UMSClient ) :void {
			
		}
	}
}